package cn.j0n4than.accountingtool.pojo.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * @author jonathan
 */
@Setter
@Getter
public class UserProfileRequest {

    @NotEmpty(message = "旧密码不能为空")
    private String oldPassword;

    @NotEmpty(message = "新密码不能为空")
    private String newPassword;

    @NotEmpty(message = "确认密码不能为空")
    private String conPassword;
}
